package cn.lngaosu.lwyd.module.integration.controller.admin.weibostatusesusertimeline.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.lngaosu.lwyd.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import java.time.LocalDate;

import static cn.lngaosu.lwyd.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
import static cn.lngaosu.lwyd.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 最新发表的微博列表分页 Request VO")
@Data
public class WeiboStatusesUsertimelinePageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "微博用户ID")
    private Long weiboUid;

    @Schema(description = "同步时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] syncDate;

    @Schema(description = "微博ID")
    private Long weiboId;

    @Schema(description = "微博创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "微博MID")
    private String mid;

    @Schema(description = "微博信息内容")
    private String text;

    @Schema(description = "微博来源")
    private String source;

    @Schema(description = "缩略图片地址")
    private String thumbnailPic;

    @Schema(description = "转发数")
    private Integer repostsCount;

    @Schema(description = "评论数")
    private Integer commentsCount;

    @Schema(description = "表态数")
    private Integer attitudesCount;

    @Schema(description = "报文")
    private String detailMessage;

}